import { Component } from '@angular/core';
import {  NavController, NavParams, App } from 'ionic-angular';


@Component({
  selector: 'page-add',
  templateUrl: 'add.html',
})
export class AddPage {
  barCode:any;
  show:boolean = false;
  constructor(
    public navCtrl: NavController,
    public navParams: NavParams,
    public app: App,
  ) {
      
    }
  ionViewDidLoad() {
    console.log('ionViewDidLoad LoginPage');
  }
  showModal(e){
    if((e.target.value) != ""){
      this.show = true;
    }else{
      this.show = false;
    }
  }

  addNew(){
   
  }
}
